package com.cx.mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
//@ComponentScan({"com.cx.mall.user.service", "com.cx.mall.user.dao"})
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@SpringBootApplication
@MapperScan(basePackages = {"com.cx.mall.user.mapper"})
//@ComponentScan(basePackages = {"com.cx.mall.user.service", "com.cx.mall.user.dao", "com.cx.mall.user.service.impl"})

public class MallUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallUserApplication.class, args);
    }
}
